Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Media Functions


Selecting Media Handlers

Media handler components are responsible for interpreting and manipulating a media's sample data. Each type of media has its own media handler, which deals with the specific characteristics of the media data. The Movie Toolbox provides a set of functions that allow you to gather information about a media handler and assign a particular media handler to a media. This section discusses those functions.

Each media handler has an associated data handler for each data reference. The data handler is responsible for fetching, storing, and caching the data that the media handler uses. The Movie Toolbox provides functions that allow you to get information about data handlers and to assign a particular data handler to a media.

The GetMediaHandler and GetMediaHandlerDescription functions allow you to retrieve information about a media handler.

You can use the SetMediaHandler function to assign a media handler to a media.

The GetMediaDataHandler and GetMediaDataHandlerDescription functions enable you to retrieve information about a data handler. Use the SetMediaDataHandler function to assign a data handler to a media.


Subtopics
GetMediaHandlerDescription
GetMediaHandler
SetMediaHandler
GetMediaDataHandlerDescription
GetMediaDataHandler
SetMediaDataHandler

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996